package cn.ruanyun.backInterface.modules.fadada.pojo;

import cn.ruanyun.backInterface.base.RuanyunBaseEntity;
import cn.ruanyun.backInterface.common.enums.BooleanTypeEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 我的合同签署
 * @author z
 */
@Data
@Entity
@Table(name = "t_my_contract_signing")
@TableName("t_my_contract_signing")
@Accessors(chain = true)
public class MyContractSigning extends RuanyunBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文档标题")
    private String docTitle;

    @ApiModelProperty("交易号")
    private String transactionId;

    @ApiModelProperty(value = "合同编号")
    private String contractId;

    @ApiModelProperty("模板id")
    private String templateId;

    @ApiModelProperty("合同下载地址")
    private String downloadUrl;

    @ApiModelProperty("合同查看地址")
    private String viewPdfUrl;

    @ApiModelProperty("是否填充合同成功")
    private BooleanTypeEnum fillSuccess = BooleanTypeEnum.NO;



    @ApiModelProperty("协议编号")
    private String contractNumber;

    /*-------------------------------甲方合同信息-----------------------*/

    @ApiModelProperty("开始年")
    private String beginYear;

    @ApiModelProperty("开始月")
    private String beginMonth;

    @ApiModelProperty("开始日")
    private String beginDay;

    @ApiModelProperty("结束年")
    private String endYear;

    @ApiModelProperty("结束月")
    private String endMonth;

    @ApiModelProperty("结束日")
    private String endDay;

    @ApiModelProperty("每笔宴会总金额")
    private String totalMoney;

    @ApiModelProperty("用户消费总金额")
    private String userBuyMoney;

    @ApiModelProperty("质保金额")
    private String depositMoney;

    @ApiModelProperty("现金券面额")
    private String couponMoney;


    /*------------------------------乙方合同信息------------------------------*/

    @ApiModelProperty("乙方署名")
    private String partyName;

    @ApiModelProperty("地址")
    private String partyAddress;

    @ApiModelProperty("银行开户账号")
    private String partyUserName;

    @ApiModelProperty("银行开户行")
    private String partyBankName;

    @ApiModelProperty("对公账户")
    private String partyBankCode;

    @ApiModelProperty("支付宝账号")
    private String partyAliPay;

    @ApiModelProperty("乙方邮箱")
    private String partyEmail;

    @ApiModelProperty("电话及传真")
    private String partyPhone;
}